package com.glodon.ggzy.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfBuyregform entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_BUYREGFORM")
public class GgZfBuyregform implements java.io.Serializable {

	// Fields    

	private String id;

	private String regformcode;

	private String regformname;

	private String buyerid;

	private Double year;

	private Double period;

	private String buyform;

	private String periodtype;

	private String ebuymethod;

	private String leader;

	private String contacter;

	private String contacttel;

	private String contactmobile;

	private String contactfax;

	private String contactemail;

	private String contactaddress;

	private String attachrelaid;

	private String signdataattachid;

	private String createorgid;

	private String creator;

	private Date createtime;

	private String changeorgid;

	private String changer;

	private Date lasttime;

	private String remark;

	private String itemauditrangetype;

	private String itemauditresultkind;

	private String deliverytime;

	private String deliveryaddress;

	private String serviceperiod;

	private String payway;

	private String fallback;

	private String status;

	private Date declaredate;

	private String regformhid;

	// Constructors

	/** default constructor */
	public GgZfBuyregform() {
	}

	/** full constructor */
	public GgZfBuyregform(String regformcode, String regformname, String buyerid, Double year, Double period, String buyform, String periodtype,
			String ebuymethod, String leader, String contacter, String contacttel, String contactmobile, String contactfax, String contactemail,
			String contactaddress, String attachrelaid, String signdataattachid, String createorgid, String creator, Date createtime,
			String changeorgid, String changer, Date lasttime, String remark, String itemauditrangetype, String itemauditresultkind,
			String deliverytime, String deliveryaddress, String serviceperiod, String payway, String fallback, String status, Date declaredate,
			String regformhid) {
		this.regformcode = regformcode;
		this.regformname = regformname;
		this.buyerid = buyerid;
		this.year = year;
		this.period = period;
		this.buyform = buyform;
		this.periodtype = periodtype;
		this.ebuymethod = ebuymethod;
		this.leader = leader;
		this.contacter = contacter;
		this.contacttel = contacttel;
		this.contactmobile = contactmobile;
		this.contactfax = contactfax;
		this.contactemail = contactemail;
		this.contactaddress = contactaddress;
		this.attachrelaid = attachrelaid;
		this.signdataattachid = signdataattachid;
		this.createorgid = createorgid;
		this.creator = creator;
		this.createtime = createtime;
		this.changeorgid = changeorgid;
		this.changer = changer;
		this.lasttime = lasttime;
		this.remark = remark;
		this.itemauditrangetype = itemauditrangetype;
		this.itemauditresultkind = itemauditresultkind;
		this.deliverytime = deliverytime;
		this.deliveryaddress = deliveryaddress;
		this.serviceperiod = serviceperiod;
		this.payway = payway;
		this.fallback = fallback;
		this.status = status;
		this.declaredate = declaredate;
		this.regformhid = regformhid;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "REGFORMCODE", length = 80)
	public String getRegformcode() {
		return this.regformcode;
	}

	public void setRegformcode(String regformcode) {
		this.regformcode = regformcode;
	}

	@Column(name = "REGFORMNAME", length = 80)
	public String getRegformname() {
		return this.regformname;
	}

	public void setRegformname(String regformname) {
		this.regformname = regformname;
	}

	@Column(name = "BUYERID", length = 100)
	public String getBuyerid() {
		return this.buyerid;
	}

	public void setBuyerid(String buyerid) {
		this.buyerid = buyerid;
	}

	@Column(name = "YEAR", precision = 30, scale = 10)
	public Double getYear() {
		return this.year;
	}

	public void setYear(Double year) {
		this.year = year;
	}

	@Column(name = "PERIOD", precision = 30, scale = 10)
	public Double getPeriod() {
		return this.period;
	}

	public void setPeriod(Double period) {
		this.period = period;
	}

	@Column(name = "BUYFORM", length = 80)
	public String getBuyform() {
		return this.buyform;
	}

	public void setBuyform(String buyform) {
		this.buyform = buyform;
	}

	@Column(name = "PERIODTYPE", length = 80)
	public String getPeriodtype() {
		return this.periodtype;
	}

	public void setPeriodtype(String periodtype) {
		this.periodtype = periodtype;
	}

	@Column(name = "EBUYMETHOD", length = 80)
	public String getEbuymethod() {
		return this.ebuymethod;
	}

	public void setEbuymethod(String ebuymethod) {
		this.ebuymethod = ebuymethod;
	}

	@Column(name = "LEADER", length = 80)
	public String getLeader() {
		return this.leader;
	}

	public void setLeader(String leader) {
		this.leader = leader;
	}

	@Column(name = "CONTACTER", length = 80)
	public String getContacter() {
		return this.contacter;
	}

	public void setContacter(String contacter) {
		this.contacter = contacter;
	}

	@Column(name = "CONTACTTEL", length = 80)
	public String getContacttel() {
		return this.contacttel;
	}

	public void setContacttel(String contacttel) {
		this.contacttel = contacttel;
	}

	@Column(name = "CONTACTMOBILE", length = 80)
	public String getContactmobile() {
		return this.contactmobile;
	}

	public void setContactmobile(String contactmobile) {
		this.contactmobile = contactmobile;
	}

	@Column(name = "CONTACTFAX", length = 80)
	public String getContactfax() {
		return this.contactfax;
	}

	public void setContactfax(String contactfax) {
		this.contactfax = contactfax;
	}

	@Column(name = "CONTACTEMAIL", length = 80)
	public String getContactemail() {
		return this.contactemail;
	}

	public void setContactemail(String contactemail) {
		this.contactemail = contactemail;
	}

	@Column(name = "CONTACTADDRESS", length = 80)
	public String getContactaddress() {
		return this.contactaddress;
	}

	public void setContactaddress(String contactaddress) {
		this.contactaddress = contactaddress;
	}

	@Column(name = "ATTACHRELAID", length = 100)
	public String getAttachrelaid() {
		return this.attachrelaid;
	}

	public void setAttachrelaid(String attachrelaid) {
		this.attachrelaid = attachrelaid;
	}

	@Column(name = "SIGNDATAATTACHID", length = 100)
	public String getSigndataattachid() {
		return this.signdataattachid;
	}

	public void setSigndataattachid(String signdataattachid) {
		this.signdataattachid = signdataattachid;
	}

	@Column(name = "CREATEORGID", length = 100)
	public String getCreateorgid() {
		return this.createorgid;
	}

	public void setCreateorgid(String createorgid) {
		this.createorgid = createorgid;
	}

	@Column(name = "CREATOR", length = 100)
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATETIME", length = 7)
	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Column(name = "CHANGEORGID", length = 100)
	public String getChangeorgid() {
		return this.changeorgid;
	}

	public void setChangeorgid(String changeorgid) {
		this.changeorgid = changeorgid;
	}

	@Column(name = "CHANGER", length = 100)
	public String getChanger() {
		return this.changer;
	}

	public void setChanger(String changer) {
		this.changer = changer;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "LASTTIME", length = 7)
	public Date getLasttime() {
		return this.lasttime;
	}

	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}

	@Column(name = "REMARK", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "ITEMAUDITRANGETYPE", length = 80)
	public String getItemauditrangetype() {
		return this.itemauditrangetype;
	}

	public void setItemauditrangetype(String itemauditrangetype) {
		this.itemauditrangetype = itemauditrangetype;
	}

	@Column(name = "ITEMAUDITRESULTKIND", length = 80)
	public String getItemauditresultkind() {
		return this.itemauditresultkind;
	}

	public void setItemauditresultkind(String itemauditresultkind) {
		this.itemauditresultkind = itemauditresultkind;
	}

	@Column(name = "DELIVERYTIME", length = 500)
	public String getDeliverytime() {
		return this.deliverytime;
	}

	public void setDeliverytime(String deliverytime) {
		this.deliverytime = deliverytime;
	}

	@Column(name = "DELIVERYADDRESS", length = 500)
	public String getDeliveryaddress() {
		return this.deliveryaddress;
	}

	public void setDeliveryaddress(String deliveryaddress) {
		this.deliveryaddress = deliveryaddress;
	}

	@Column(name = "SERVICEPERIOD", length = 500)
	public String getServiceperiod() {
		return this.serviceperiod;
	}

	public void setServiceperiod(String serviceperiod) {
		this.serviceperiod = serviceperiod;
	}

	@Column(name = "PAYWAY", length = 500)
	public String getPayway() {
		return this.payway;
	}

	public void setPayway(String payway) {
		this.payway = payway;
	}

	@Column(name = "FALLBACK", length = 500)
	public String getFallback() {
		return this.fallback;
	}

	public void setFallback(String fallback) {
		this.fallback = fallback;
	}

	@Column(name = "STATUS", length = 80)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DECLAREDATE", length = 7)
	public Date getDeclaredate() {
		return this.declaredate;
	}

	public void setDeclaredate(Date declaredate) {
		this.declaredate = declaredate;
	}

	@Column(name = "REGFORMHID", length = 100)
	public String getRegformhid() {
		return this.regformhid;
	}

	public void setRegformhid(String regformhid) {
		this.regformhid = regformhid;
	}

}
